package com.lingjtx.common.security.strategy;

import com.lingjtx.common.core.RedisOptions;
import com.lingjtx.common.core.ResponseResult;

public abstract class TokenStateHandler {

    protected TokenContext context;

    public void setContext(TokenContext context) {
        this.context = context;
    }

    public abstract ResponseResult<Object> retError();

    public abstract boolean handler(RedisOptions redis, String token);
}
